<template>
    <div>
        子组件: {{msg}}
        <button @click="choose">点击传值</button>
        <grandson></grandson>  
    </div>
</template>
<script>
import grandson from './grandson'
export default {
    props:['msg'],
    components:{
        grandson
    },
    methods:{
        choose(){
            this.$emit("chooseFn","asdf")
        }
    }
}
</script>
<style>

</style>
